210c8f873aa56ffc0fa4218fcd6165756e36f3b0,core/kernel/source/jetbrains/mps/vcs/diff/ui/ModelDiffTool.java,ModelDiffTool,readModel,#DiffContent#String#,116
Before Change
}
public static SModel readModel(DiffContent content, String path) throws IOException, ReadException {
return readModel(content.getBytes(), path);
}
public static SModel readModel(byte[] bytes, String path) throws IOException, ReadException {
After Change
}
public static SModel readModel(DiffContent content, String path) throws IOException, ReadException {
SModel sModel = readModel(content.getBytes(), path);
if (content instanceof DocumentContent) {
SModelRepository repository = SModelRepository.getInstance();
SModelDescriptor sModelDescriptor = repository.getModelDescriptor(sModel.getSModelFqName());
return sModelDescriptor.getSModel();
}
return sModel;
}
public static SModel readModel(byte[] bytes, String path) throws IOException, ReadException {